package com.chang.rentmall.servicesImpl;

import com.chang.rentmall.beans.BaseBean;
import com.chang.rentmall.beans.MessageBean;
import com.chang.rentmall.beans.PointsBean;
import com.chang.rentmall.daos.PointsDao;
import com.chang.rentmall.services.PointsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PointsServiceImpl implements PointsService {
    @Autowired
    PointsDao pointsDao;
    @Override
    public MessageBean getShopPointsList(BaseBean<PointsBean> baseBean) {
        MessageBean messageBean = new MessageBean();
//        List<PointsBean> list = pointsDao.getPointsByShopUser(baseBean.getQuery().getId(), baseBean.getQuery().getUserId());
//        messageBean.setValues(200, "获取数据成功", list);
        return messageBean;
    }
}
